package org.javacore.StreamsTutorial;

import lombok.Data;

import java.util.Optional;

/**
 * Created by IntelliJ IDEA.
 * User: Fan
 * Date: 2018/6/30
 * Time: 18:29
 */
@Data
public class Person {
    private Optional<Address> address;
}
@Data
class Address{
    private Optional<String> validFrom;
}
